package com.crk.yiyuanguahao.service;

import com.crk.yiyuanguahao.entity.DoctorComment;
import com.crk.yiyuanguahao.entity.DoctorCommentDto;
import com.crk.yiyuanguahao.util.Page;
import com.crk.yiyuanguahao.util.ResponseResult;

/**
 * @author
 * @description:
 * @date 2020/3/26
 */
public interface DoctorCommentService {
    /**
     * 保存评价信息
     * @param doctorComment 评价
     * @return
     */
    public ResponseResult saveDoctorComment(DoctorCommentDto doctorComment);

    /**
     * 删除评价信息
     * @param id
     * @return
     */
    public ResponseResult deleteDoctorComment(Integer id);

    /**
     * 查询评价信息
     * @param id
     * @return
     */
    public ResponseResult getDoctorComment(Integer id);

    /**
     * 查询评价信息列表
     * @param doctorCode 医生编号
     * @param pageInfo 分页
     * @return
     */
    public ResponseResult queryDoctorCommentPage(String doctorCode,Page pageInfo);

    /**
     * 查询评价信息列表
     * @param doctorCode 医生编号
     * @param pageInfo 分页
     * @return
     */
    public ResponseResult queryMyDoctorCommentPage(String doctorCode,Page pageInfo);

    /**
     * 查询评价信息列表
     * @param pageInfo 分页
     * @return
     */
    public ResponseResult querySelfDoctorCommentPage(Page pageInfo);


    public ResponseResult getDoctorCommentByAppointment(Integer appointmentId);
}
